package com.njqy.ticket.entity.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "MenuEntity", description = "菜单实体")
@Data
@TableName("menu")
public class MenuEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "菜单")
    private String name;

    @ApiModelProperty(value = "父节点")
    private String parentId;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "数据标识")
    private String menuKey;

    @ApiModelProperty(value = "状态（0：启用，1：未启用）")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remark;


}
